let deta = new Vue({
    el: '.page-content',
    data: {
        area: {}
    },
    methods: {
        showUpdate: function (uid) {
            axios({
                url: `area/showUpdate`,
                method: 'post',
                data: {
                    aid: uid
                }
            }).then(rs => {
                this.area = rs.data
            }).catch(error => {
                layer.msg(error.message)
            })
        },
        hideWindow: function () {
            let index = parent.layer.getFrameIndex(window.name);
            parent.layer.close(index)
        }
    },
    created: function () {
        this.showUpdate(parent.layer.id)
    }
});